home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / security / doc / cert_advisories / CA-90:02.intruder.warning < prev    next >
Encoding:
Text File  |  1990-03-18  |  7.6 KB  |  187 lines

  1.  
  2. CA-90:02
  3.                 CERT Advisory
  4.                 March 19, 1990
  5.               Internet Intruder Warning
  6. -------------------------------------------------------------------------------
  7. There have been a number of media reports stemming from a March 19 New York
  8. Times article entitled 'Computer System Intruder Plucks Passwords and
  9. Avoids Detection.'  The article referred to a program that attempts to
  10. get into computers around the Internet.
  11.  
  12. At this point, the Computer Emergency Response Team Coordination
  13. Center (CERT/CC) does not have hard evidence that there is such a
  14. program.  What we have seen are several persistent attempts on systems
  15. using known security vulnerabilities.  All of these vulnerabilities
  16. have been previously reported.  Some national news agencies have
  17. referred to a 'virus' on the Internet; the information we have now
  18. indicates that this is NOT true.  What we have seen and can confirm is
  19. an intruder making persistent attempts to get into Internet systems.
  20.  
  21. It is possible that a program may be discovered.  However, all the
  22. techniques used in these attempts have also been used, in the past, by
  23. intruders probing systems manually.
  24.  
  25. As of the morning of March 19, we know of several systems that have
  26. been broken into and several dozen more attempts made on Thursday and
  27. Friday, March 15 and 16.
  28.  
  29. Systems administrators should be aware that many systems around the
  30. Internet may have these vulnerabilities, and intruders know how to
  31. exploit them.  To avoid security breaches in the future, we recommend
  32. that all system administrators check for the kinds of problems noted
  33. in this message.
  34.  
  35. The rest of this advisory describes problems with system
  36. configurations that we have seen intruders using.  In particular, the
  37. intruders attempted to exploit problems in Berkeley BSD derived UNIX
  38. systems and have attacked DEC VMS systems.  In the advisory below,
  39. points 1 through 12 deal with Unix, points 13 and 14 deal with the VMS
  40. attacks.
  41.  
  42. If you have questions about a particular problem, please get
  43. in touch with your vendor.
  44.  
  45. The CERT makes copies of past advisories available via anonymous FTP
  46. (see the end of this message).  Administrators may wish to review
  47. these as well.
  48.  
  49. We've had reports of intruders attempting to exploit the following
  50. areas:
  51.  
  52.  
  53. 1) Use TFTP (Trivial File Transfer Protocol) to steal password files.  
  54.  
  55.    To test your system for this vulnerability, connect to your system
  56. using TFTP and try 'get /etc/motd'.  If you can do this, anyone else
  57. can get your password file as well.  To avoid this problem, disable
  58. tftpd.
  59.  
  60.    In conjunction with this, encourage your users to choose passwords
  61. that are difficult to guess (e.g. words that are not contained in any
  62. dictionary of words of any language; no proper nouns, including names
  63. of "famous" real or imaginary characters; no acronyms that are common
  64. to computer professionals; no simple variations of first or last
  65. names, etc.)  Furthermore, inform your users not to leave any clear
  66. text username/password information in files on any system.
  67.  
  68.    If an intruder can get a password file, he/she will usually take it
  69. to another machine and run password guessing programs on it. These
  70. programs involve large dictionary searches and run quickly even on slow
  71. machines.  The experience of many sites is that most systems that do
  72. not put any controls on the types of passwords used probably have at
  73. least one password that can be guessed.
  74.  
  75.  
  76. 2) Exploit accounts without passwords or known passwords (accounts
  77. with vendor supplied default passwords are favorites).  Also uses
  78. finger to get account names and then tries simple passwords.  
  79.  
  80.    Scan your password file for extra UID 0 accounts, accounts with no
  81. password, or new entries in the password file.  Always change vendor
  82. supplied default passwords when you install new system software.
  83.  
  84.  
  85. 3) Exploit holes in sendmail.
  86.  
  87.    Make sure you are running the latest sendmail from your vendor.
  88. BSD 5.61 fixes all known holes that the intruder is using.  
  89.  
  90.  
  91. 4) Exploit bugs in old versions of FTP; exploit mis-configured
  92.    anonymous FTP
  93.  
  94.    Make sure you are running the most recent version of FTP which is
  95. the Berkeley version 4.163 of Nov.  8 1988.  Check with your vendor
  96. for information on configuration upgrades.  Also check
  97. your anonymous FTP configuration.  It is important to follow the
  98. instructions provided with the operating system to properly configure
  99. the files available through anonymous ftp (e.g., file permissions,
  100. ownership, group, etc.).  Note especially that you should not use your
  101. system's standard password file as the password file for FTP.
  102.  
  103.  
  104. 5) Exploit the fingerd hole used by the Morris Internet worm.
  105.  
  106.    Make sure you're running a recent version of finger.  Numerous
  107. Berkeley BSD derived versions of UNIX were vulnerable.
  108.  
  109.  
  110. Some other things to check for:
  111.  
  112. 6) Check user's .rhosts files and the /etc/hosts.equiv files for systems
  113. outside your domain.  Make sure all hosts in these files are
  114. authorized and that the files are not world-writable.
  115.  
  116.  
  117. 7) Examine all the files that are run by cron and at.  We've seen
  118. intruders leave back doors in files run from cron or submitted to at.
  119. These techniques can let the intruder back on the system even after
  120. you've kicked him/her off.  Also, verify that all files/programs
  121. referenced (directly or indirectly) by the cron and at jobs, and the
  122. job files themselves, are not world-writable.
  123.  
  124.  
  125. 8) If your machine supports uucp, check the L.cmds file to see if
  126. they've added extra commands and that it is owned by root (not by uucp!)
  127. and world-readable.  Also, the L.sys file should not be world-readable
  128. or world-writable.
  129.  
  130.  
  131. 9) Examine the /usr/lib/aliases (mail alias) file for unauthorized
  132. entries.  Some alias files include an alias named 'uudecode'; if this
  133. alias exists on your system, and you are not explicitly using it, then
  134. it should be removed.
  135.  
  136.  
  137. 10) Look for hidden files (files that start with a period and are
  138. normally not shown by ls) with odd names and/or setuid capabilities,
  139. as these can be used to "hide" information or privileged (setuid root)
  140. programs, including /bin/sh.  Names such as '..  ' (dot dot space
  141. space), '...', and .xx have been used, as have ordinary looking names
  142. such as '.mail'.  Places to look include especially /tmp, /usr/tmp,
  143. and hidden directories (frequently within users' home directories).
  144.  
  145.  
  146. 11) Check the integrity of critical system programs such as su, login,
  147. and telnet.  Use a known, good copy of the program, such as the
  148. original distribution media and compare it with the program you are
  149. running.
  150.  
  151.  
  152. 12) Older versions of systems often have security vulnerabilities that
  153. are well known to intruders.  One of the best defenses against
  154. problems is to upgrade to the latest version of your vendor's system.
  155.  
  156.  
  157. VMS SYSTEM ATTACKS:
  158.  
  159. 13) The intruder exploits system default passwords that have not been
  160. changed since installation.  Make sure to change all default passwords
  161. when the software is installed.  The intruder also guesses simple user
  162. passwords.  See point 1 above for suggestions on choosing good
  163. passwords.
  164.  
  165. 14) If the intruder gets into a system, often the programs
  166. loginout.exe and show.exe are modified.  Check these programs against
  167. the files found in your distribution media.
  168.  
  169.  
  170. If you believe that your system has been compromised, contact CERT via
  171. telephone or e-mail.
  172.  
  173. J. Paul Holbrook
  174. Computer Emergency Response Team (CERT)
  175. Software Engineering Institute
  176. Carnegie Mellon University
  177. Pittsburgh, PA 15213-3890
  178.  
  179. Internet E-mail: cert@cert.sei.cmu.edu
  180. Telephone: 412-268-7090 24-hour hotline: CERT personnel answer 
  181.          7:30a.m.-6:00p.m. EST, on call for emergencies
  182.         other hours.
  183.  
  184. Past advisories and other information are available for anonymous ftp
  185. from cert.sei.cmu.edu (192.88.209.5).
  186.  
  187.